import request from '@/utils/request'

export function getLocation(params) {
  return request(({
    url: 'https://api.map.baidu.com/geocoding/v3/',
    method: 'get',
    params
  }))
}
